package com.kai.mqtt.data.request;

import lombok.Data;

/**
 * @author weijk
 * @since 2024/7/4
 */
@Data
public class PageBaseRequest {

    private Integer pageIndex;

    private Integer pageSize;

    public Integer getPageIndex() {
        return pageIndex == null ? 1 : pageIndex;
    }

    public Integer getPageSize() {
        return pageSize == null ? 10 : pageSize;
    }
}
